from django.conf.urls.defaults import *

# Uncomment the next two lines to enable the admin:
# from django.contrib import admin
# admin.autodiscover()

urlpatterns = patterns('',
    # Example:
    # (r'^introsite/', include('introsite.foo.urls')),

    #(r'^authsub_authpage/$', 'gaccounts.views.login_authsub_authpage'),
    #(r'^authsub_callback/$', 'gaccounts.views.login_authsub_callback'),
    (r'^authpage/$', 'gaccounts.views.login_hybird_authpage'),
    (r'^callback/$', 'gaccounts.views.login_hybird_callback'),
    (r'^logout/$', 'gaccounts.views.logout_hybird'),
    
    (r'^check/$', 'gaccounts.views.check_hybird')

    #(r'^openid_authpage/$', 'gaccounts.views.login_openid_authpage'),
    #(r'^openid_callback/$', 'gaccounts.views.login_openid_callback'),
    #(r'^$', 'gaccounts.views.login'),

    # Uncomment the admin/doc line below and add 'django.contrib.admindocs' 
    # to INSTALLED_APPS to enable admin documentation:
    # (r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    # (r'^admin/(.*)', admin.site.root),
)
